package com.leaguefox.web.client;

import java.util.ArrayList;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.leaguefox.web.shared.domain.dto.PlayerDto;

/**
 * The async counterpart of <code>LeagueFoxService</code>.
 */
public interface LeagueFoxServiceAsync {
  void greetServer(String input, AsyncCallback<String> callback)
      throws IllegalArgumentException;
  
  
  void getAllPlayers(AsyncCallback<ArrayList<PlayerDto>> callback);
  void deletePlayers(ArrayList<Long> ids, AsyncCallback<ArrayList<PlayerDto>> callback); 
}
